<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
	
	<div class="page-sidebar" id="sidebar">
            <!-- 左侧菜单 -->
            <ul class="nav sidebar-menu">
                <!--工作台-->
                <li class="active">
                    <a href="#" onclick="loadHtml('/console/index'), this">
                        <i class="menu-icon glyphicon glyphicon-home"></i>
                        <span class="menu-text">工作台</span>
                    </a>
                </li>
                <c:forEach items="${list}" var="record">
                <c:set var="page" value="${fn:split(record.navigateUrl,'/')[0]}"></c:set>
                <shiro:hasPermission name="${page }:view">
                <li>
                	<a href="#" class="menu-dropdown">
                        <i class="menu-icon fa ${record.img}"></i>
                        <span class="menu-text">${record.fullName}</span>
                        <c:if test="${!empty record.childs}">
                        	<i class="menu-expand"></i>
                        </c:if>
                    </a>
                    
                    <c:set var="childs" value="${record.childs}" scope="request" />
                    <c:import url="r_menu.jsp" />
                </li>
                </shiro:hasPermission>
                </c:forEach>
                
                <!--咨询中心-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon fa fa-comments"></i>
                        <span class="menu-text">咨询中心</span>
                        <i class="menu-expand"></i>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="#" onclick="loadHtml('/consultInfoManage/index', this)">
                                <span class="menu-text">信息管理中心</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/consultDistributeCenter/index', this)">
                                <span class="menu-text">信息分发中心</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/consultConsole/index', this)">
                                <span class="menu-text">咨询工作台</span>
                            </a>
                        </li>
                    </ul>
                </li> -->
                <!--服务中心-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon glyphicon glyphicon-headphones"></i>
                        <span class="menu-text">服务中心</span>
                        <i class="menu-expand"></i>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="#">
                                <span class="menu-text">报考工作台</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" class="menu-dropdown">
                                <span class="menu-text">服务工作台</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
                            	<li>
                            		<a href="#" onclick="loadHtml('/serviceInfo/index', this)">
                            			<span class="menu-text">信息公告</span>
                            		</a>
                            	</li>
                            	<li>
                            		<a href="#" onclick="loadHtml('/stuServiceCenter/index', this)">
                            			<span class="menu-text">学员服务中心</span>
                            		</a>
                            	</li>
                            </ul>
                        </li>
                    </ul>
                </li> -->
                <!--财务中心-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon fa  fa-dollar"></i>
                        <span class="menu-text">财务中心</span>
                        <i class="menu-expand"></i>
                    </a>

                    <ul class="submenu">
                        <li>
                            <a href="#" class="menu-dropdown">
                                <span class="menu-text">集团财务</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeGroupIncome/index', this)">
		                                <span class="menu-text">收入明细</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeGeneral/index', this)">
		                                <span class="menu-text">综合部收入</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#">
		                                <span class="menu-text">财务申请</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#">
		                                <span class="menu-text">财务支出</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeGroupBalance/index', this)">
		                                <span class="menu-text">余额查询</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeGroupReceivable/index', this)">
		                                <span class="menu-text">应收款</span>
		                            </a>
		                        </li>
		                    </ul>
                        </li>
                        <li>
                            <a href="#" class="menu-dropdown">
                                <span class="menu-text">分校财务</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
		                        <li>
		                            <a href="#">
		                                <span class="menu-text">分校绩效表</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#">
		                                <span class="menu-text">分校绩效调整</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeSchoolIncome/index', this)">
		                                <span class="menu-text">分校财务收入</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeSchoolExpend/index', this)">
		                                <span class="menu-text">分校财务支出</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeSchoolBalance/index', this)">
		                                <span class="menu-text">余额查询</span>
		                            </a>
		                        </li>
		                    </ul>
                        </li>
                        <li>
                            <a href="#" class="menu-dropdown">
                                <span class="menu-text">中培财务</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
                            	<li>
		                            <a href="#" onclick="loadHtml('/financeZpIncome/index', this)">
		                                <span class="menu-text">中培财务收入</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/financeZpExpend/index', this)">
		                                <span class="menu-text">中培财务支出</span>
		                            </a>
		                        </li>
                            </ul>
                        </li>
                    </ul>
                </li> -->
                <!-- <li>
                	<a href="#" class="menu-dropdown">
                        <i class="menu-icon glyphicon glyphicon-edit"></i>
                        <span class="menu-text">审批工作台</span>
                        <i class="menu-expand"></i>
                    </a>
                    <ul class="submenu">
                    	<li>
                            <a href="#" onclick="loadHtml('/apply/index', this)">
                                <span class="menu-text">申请</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/accraditation/index', this)">
                                <span class="menu-text">审批</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/handle/index', this)">
                                <span class="menu-text">经办</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/applied/index', this)">
                                <span class="menu-text">已申请</span>
                            </a>
                        </li>
                    </ul>
                </li> -->
                <!--质检中心-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon fa fa-wrench"></i>
                        <span class="menu-text">质检中心</span>

                        <i class="menu-expand"></i>
                    </a>

                    <ul class="submenu">
                        <li>
                            <a href="#">
                                <span class="menu-text">奖励管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <span class="menu-text">罚款管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <span class="menu-text">回访管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <span class="menu-text">查漏管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <span class="menu-text">变更管理(学员)</span>
                            </a>
                        </li>
                    </ul>
                </li> -->
                <!--产品数据库-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon fa fa-bar-chart-o"></i>
                        <span class="menu-text">产品数据库</span>
                        <i class="menu-expand"></i>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="#" onclick="loadHtml('/professional/index', this)">
                                <span class="menu-text">职业资格招生简章</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/education/index', this)">
                                <span class="menu-text">学历招生简章</span>
                            </a>
                        </li>
                    </ul>
                </li> -->
                <!--配置中心-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon glyphicon glyphicon-cog"></i>
                        <span class="menu-text">配置中心</span>
                        <i class="menu-expand"></i>
                    </a>

                    <ul class="submenu">
                    	<li>
                    		<a href="#" class="menu-dropdown">
		                        <span class="menu-text">产品配置</span>
		                        <i class="menu-expand"></i>
                    		</a>
                    		<ul class="submenu">
                    			<li>
		                            <a href="#" onclick="loadHtml('/bizSchool/index', this)">
		                                <span class="menu-text">院校名称管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizMajor/index', this)">
		                                <span class="menu-text">专业名称管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizProject/index', this)">
		                                <span class="menu-text">项目、级别管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizPartner/index', this)">
		                                <span class="menu-text">合作方管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizTutorialFee/index', this)">
		                                <span class="menu-text">辅导费设置</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizProduct/index', this)">
		                                <span class="menu-text">产品配置</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizProductPrice/index', this)">
		                                <span class="menu-text">产品定价</span>
		                            </a>
                        		</li>
                        		<li>
		                            <a href="#" onclick="loadHtml('/bizExaminationFee/index', this)">
		                                <span class="menu-text">考务费设置</span>
		                            </a>
		                        </li>
                        		<li>
		                            <a href="#" onclick="loadHtml('/bizExamSetting/index', this)">
		                                <span class="menu-text">考期设置</span>
		                            </a>
		                        </li>
		                         <li>
		                            <a href="#" onclick="loadHtml('/bizConfig/index', this)">
		                                <span class="menu-text">报名表说明配置</span>
		                            </a>
		                        </li>
                    		</ul>
                    	</li>
                    	<li>
                    		<a href="#" class="menu-dropdown">
		                        <span class="menu-text">咨询配置</span>
		                        <i class="menu-expand"></i>
                    		</a>
                    		<ul class="submenu">
                    			<li>
		                            <a href="#" onclick="loadHtml('/bizActivity/index', this)">
		                                <span class="menu-text">活动管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizInquiriesRules/index', this)">
		                                <span class="menu-text">咨询规则管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#">
		                                <span class="menu-text">咨询量分配设置</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizInfosBelong/index', this)">
		                                <span class="menu-text">信息量归属配置</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizSysuserCitys/index', this)">
		                                <span class="menu-text">人员城市匹配表</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizBrand/index', this)">
		                                <span class="menu-text">品牌设置</span>
		                            </a>
		                        </li>
                    		</ul>
                    	</li>
                    	<li>
                    		<a href="#" class="menu-dropdown">
		                        <span class="menu-text">财务配置</span>
		                        <i class="menu-expand"></i>
                    		</a>
                    		<ul class="submenu">
                    			<li>
		                            <a href="#" onclick="loadHtml('/bizScale/index', this)"> 
		                                <span class="menu-text">分校分成比例管理</span>
		                            </a>
		                        </li>
		                        <li>
		                            <a href="#" onclick="loadHtml('/bizFinance/index', this)">
		                                <span class="menu-text">财务配置</span>
		                            </a>
		                        </li>
                    		</ul>
                    	</li>
                    	<li>
                    		<a href="#" class="menu-dropdown">
		                        <span class="menu-text">质检配置</span>
		                        <i class="menu-expand"></i>
                    		</a>
                    		<ul class="submenu">
                    			<li>
		                            <a href="#" onclick="loadHtml('/bizRewardsCategory/index', this)">
		                                <span class="menu-text">惩罚类别设置</span>
		                            </a>
		                        </li>
                    		</ul>
                    	</li>
                        
                        <li>
                            <a href="#" onclick="loadHtml('/bizCommunicate/index')">
                                <span class="menu-text">待沟通提醒时间配置</span>
                            </a>
                        </li>
                        
                    </ul>
                </li> -->
                <!--系统管理-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon fa fa-th"></i>
                        <span class="menu-text">系统管理</span>
                        <i class="menu-expand"></i>
                    </a>

                    <ul class="submenu">
                        <li>
                            <a href="#" onclick="loadHtml('/user/index', this)">
                                <span class="menu-text">用户管理</span>
                            </a>
                        </li>

                        <li>
                            <a href="#" onclick="loadHtml('/department/index', this)">
                                <span class="menu-text">部门管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/duty/index', this)">
                                <span class="menu-text">职位管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/roleMenu/index', this)">
                                <span class="menu-text">权限管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" onclick="loadHtml('/menu/index', this)">
                                <span class="menu-text">菜单管理</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" class="menu-dropdown">
                                <span class="menu-text">字典管理</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
                                <li>
                                    <a href="#" onclick="loadHtml('/studentAttr/index', this)">
                                        <span class="menu-text">学员属性</span>
                                    </a>
                                </li>

                                <li>
                                    <a href="#" onclick="loadHtml('/dictionary/index', this)">
                                        <span class="menu-text">区域属性</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li>
                            <a href="#" class="menu-dropdown">
                                <span class="menu-text">公告管理</span>
                                <i class="menu-expand"></i>
                            </a>
                            <ul class="submenu">
                                <li>
                                    <a href="#" onclick="loadHtml('/institution/index', this)">
                                        <span class="menu-text">制度管理</span>
                                    </a>
                                </li>

                                <li>
                                    <a href="#" onclick="loadHtml('/reward/index', this)">
                                        <span class="menu-text">奖惩明细</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li> -->
                <!--日志管理-->
                <!-- <li>
                    <a href="#" class="menu-dropdown">
                        <i class="menu-icon fa fa-book"></i>
                        <span class="menu-text">日志管理</span>
                        <i class="menu-expand"></i>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="#" onclick="loadHtml('/log/index', this)">
                                <span class="menu-text">操作日期</span>
                            </a>
                        </li>
                        <li>
                            <a href="#">
                                <span class="menu-text">系统日志</span>
                            </a>
                        </li>
                    </ul>
                </li> -->
            </ul>
            <!-- /左侧菜单 -->
        </div>
